/**
 * 可用于类数组
 * includes使用零值相等来判断是否相等
 * @param {*} value 
 * @param {*} fromIndex 
 * @returns 
 */
Array.prototype.myIncludes = function(value,fromIndex){
    let start = fromIndex+this.length
    const  isNaN = isNaN(value)
    if(fromIndex<0) start=0
    for(let i =(start<0?0:start);i<this.length;i++){
        if((this[i]===value)||(isNaN&&isNaN(this[i]))) return true
    }
    return false
}